package exception;

import java.awt.*;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

/**
 * 字了里重写超类含有throws的方法时，对throws的重写规则
 */
public class ThrowsDemo {
    public void doSome ()throws IOException, AWTException{}

}
class subDemo extends ThrowsDemo{
//   public void doSome()throws SQLException {}
}
